from django.urls import path
from . import views


urlpatterns = [
    path('api/', views.CartViewSet.as_view({'get': 'list', 'post': 'create'})),
    path('api/', views.CartViewSet.as_view({'get': 'retrieve', 'put': 'update', 'delete': 'destroy'}))
]